home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / X11 / Xsession.d / 65mesa-check-x86-64 < prev    next >
Text File  |  2008-10-21  |  432b  |  16 lines

  1. :
  2. # /etc/X11/Xsession.d/65mesa-check-x86-64
  3.  
  4. # This file is sourced by Xsession(5), not executed.
  5.  
  6. # If we are running the 64-bit mesa code, we need to disable ASM
  7. # optimizations if we are on a non-AMD processor without 3dnow instructions
  8. # (until this get fixed in the mesa libraries)
  9.  
  10. if [ `dpkg --print-architecture` = "amd64" ] &&
  11.    ! grep -q "^flags.*3dnow" /proc/cpuinfo
  12. then
  13.       MESA_NO_ASM=1
  14.       export MESA_NO_ASM
  15. fi
  16.